﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using yiCommerce.Attributes;
using yiCommerce.Service.Shippings;

namespace yiCommerce.Areas.Admin.Controllers
{
     [AdminAuthorize]
     [AdminShippingAuthorize] 
    public class ShippingController : Controller
    {


        public ActionResult Index()
        {
            return View();
        }


        public ActionResult ShipOrder(int orderId)
        {
            var shipOrderModel = new ShipOrderModel() {OrderId = orderId};
            ViewBag.Model = shipOrderModel;

            return View();
        }
        
    }

    public class ShipOrderModel
    {
        public int OrderId { get; set; }
        public string TrackingNo { get; set; }
    }
}
